<admintpl file="header" />
<link href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="__TMPL__Public/assets/css/infomation.css" rel="stylesheet" />
</head>
<body> 
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li><a href="{:U('SupervisionPlan/index')}">监理规划管理</a></li>
            <if condition="$level eq '0' or $level eq '3' "><li><a href="{:U('SupervisionPlan/add')}">新增监理规划</a></li></if>
            <li class="active"><a href="{:U('SupervisionPlan/view', array('id'=>I('request.id/s','')))}">查看监理规划</a></li>
        </ul>
        <section class="tab-pane active fade in" id="access">
            <div class="row">
                <div class="col-xs-12 col-md-12 col-lg-12">
                    <div class="panel panel-info">
                        <div class="panel-body">
                            <form class="form-horizontal form-inline tg js-ajax-form" action="{:U('SupervisionPlan/edit_post')}" method="post">
                            	<input type="hidden" name="id" value="{$result.id}" />
                                <div class="row tg-header">
                                    <div class="col-md-12 text-center">
                                        <h3>监理规划</h3>
                                        <hr />
                                    </div>
                                    <div class="col-md-12">
                                        <p class="tg-to"><b>创建人:</b>{$result.real_name}</p>
                                        <p class="pull-right tg-serialnum"><b>创建时间:</b>{$result.add_time}</p>
                                    </div>
                                </div>
                                <div class="well">
                                	<label class="control-label">附件：</label>
                                    <foreach name="results" item="vo">
                                        <div class='controls' style='margin-top:10px;margin-left:20px'>
                                            <a target="_blank" href="/{$vo.file_path}" data-type="{$vo.file_type}" path="{$vo.file_path}" name="{$vo.file_name}" class="fileDownload" ><label>{$vo.file_name}</label></a>
                                        </div>
                                    </foreach>
                                </div>
								<div class="form-actions">
									<a class="btn btn-default" href="{:U('SupervisionPlan/index')}">{:L('BACK')}</a>
								</div>
							</form>
						</div>
                    </div>
                </div>
            </div>
		</section>     
    </div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>